import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { AddressService } from "./address.service";
import { AddressController } from "./address.controller";
import { Address } from "./entities/address.entity";

@Module({
	imports: [TypeOrmModule.forFeature([Address])],
	controllers: [AddressController],
	providers: [AddressService],
	exports: [AddressService],
})
export class AddressModule {}
